    <div id="login_modal" class="modal hide fade">
        <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal">x</button>
            <h2>登陆</h2>
        </div>
        <form class="form-horizontal" id="login_form" method="POST" action="login/do_login">
            <fieldset>        
                <div class="modal-body">
                    <div class="control-group" style="margin-bottom:0px;">
                        <div class="controls">
                            <p id="login_error" style="color:red;font-weight:bold;visibility:hidden;">邮箱或密码错误！</p>
                        </div>
                    </div>
                    <div class="control-group">
                        <label class="control-label" for="login_email">邮箱</label>
                        <div class="controls">
                            <input type="text" class="input-large" id="login_email" name="email">
                        </div>
                    </div>
                    <div class="control-group">
                        <label class="control-label" for="login_password">密码</label>
                        <div class="controls">
                            <input type="password" class="input-large" id="login_password" name="password">
                        </div>
                    </div>
                    
                    <?php 
                        if( $this->session->userdata('login_error_time') >= 3 ) {
                            $this->load->view('login_captcha');
                        }
                    ?>
                                    
                    <div class="control-group">
                        <div class="controls">
                            <div class="row-fluid">
                                <div class="span8">
                                    <label class="checkbox">
                                        <input type="checkbox" id="login_remember" name="remember">下次自动登录
                                    </label>
                                </div>
                                <div class="span4"><a href="security/find_pwd_form">忘记密码？</a></div>
                            </div>
                        </div>
                    </div>
                </div>
            </fieldset>

            <div class="modal-footer">
                <!--<div class="form-actions">-->
                    <button class="btn btn-primary" id="login_btn">登陆</button>
                    <a class="btn" href="register/index">注册</a>
                <!--</div>-->
            </div>
        </form>
    </div>